package com.julius.design.collection.map;

import java.util.HashMap;

/**
 * @author Administrator
 * @date 2021-08-25 下午 1:51
 */
public class MainClass {


    public static void main(String[] args) {
        HashMap<Integer,String> map = new HashMap(16);

        System.out.println("初始化---------------"+map.size());

        int i = 0;
        for (;;){
            map.put(i,""+i);
            i++;
            System.out.println("此时map大小为--------------》》》》"+map.size());
        }
    }


}
